<template>
  <el-container>
    <el-header class="header_container" style="">
      <h1>疫苗预约系统</h1>
    </el-header>
    <el-main style="height: auto;width: 100%;left: 0;right: 0;margin-top: 90px">
      <router-view/>
    </el-main>
    <el-footer class="foot_container">
      <div class="foot_container_boss">
        <div class="foot_container_first">
          <router-link class="el-icon-s-home"
                       style="font-size: 40px;text-decoration: none;color: #333333"
                       :active-class="$route.path === '/userVaccineShow' ? 'activate': ''"
                       to="/userVaccineShow">
          </router-link>
        </div>
        <div class="foot_container_second">
          <router-link class="el-icon-plus"
                       style="font-size: 40px;text-decoration: none;color: #333333"
                       :active-class="$route.path === '/userOrderList' ? 'activate': ''"
                       to="/userOrderList">
          </router-link>
        </div>
        <div class="foot_container_third">
          <router-link class="el-icon-user-solid"
                       style="font-size: 40px;text-decoration: none;color: #333333"
                       :active-class="$route.path === '/userMsgMain' ? 'activate': ''"
                       to="/userMsgMain">
          </router-link>
        </div>
      </div>
    </el-footer>
  </el-container>
</template>

<script>
export default {
  name: "UserManager",
  // mounted() {
  //   axios({
  //     url:'http://localhost:88/api/user/users/userGetVaccine',
  //     method:'get',
  //   }).then(res => {
  //     console.log(res)
  //   })
  // }
}
</script>

<style scoped>
.foot_container{
  width: 100%;
  left: 0;
  position: fixed;
  bottom: 0;
  box-shadow: 0 2px 12px 0 rgb(0, 0, 0);
  background-color: #476964;
}
.foot_container_boss{
  display: flex;
  flex-direction: row;
  justify-content: space-around;
}
a:visited{
  color: #B3C0D1;
}
.header_container{
  position: fixed;
  top: 0;
  z-index: 999;
  background-color: #67C23A;
  box-shadow: 0 2px 4px rgba(0, 0, 0, .12), 0 0 6px rgba(0, 0, 0, .04);
  left: 0;
  right: 0;
}
</style>
